package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdQuasuporgBase;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 质量技术支撑机构 信息数据库操作类
 *
 * @author y
 * @date 2020-07-08 11:17:18
 */
@Mapper
public interface WQbdQuasuporgBaseDao extends IBaseMapper<WQbdQuasuporgBase,String> {

    List<WQbdQuasuporgBase> queryAll(QueryFilter queryFilter);

    /**
     * 上报查询数据
     * @param dataId  主数据id
     * @param tableName 表名
     * @return
     */
    List<WQbdQuasuporgBase> reportList(@Param("dataId")String dataId, @Param("tableName")String tableName);

    WQbdQuasuporgBase getParentAndChilden(String id);
}
